/**
 * Yolema.com Inc.
 * Copyright (c) 2011-2012 All Rights Reserved.
 */
package org.grayrabbit.pay.core.model.enums;

/**
 * tbss系统枚举
 * 
 * @author liyd
 * @version $Id: TbssResultEnum.java, v 0.1 2012-4-6 上午11:33:28 liyd Exp $
 */
public enum PayResultEnum {

    /** 地区信息不能为空 test用*/
    REFUND_REPEAT("REFUND_REPEAT","重复退款"),
    TRADE_NOT_EXISTS("TRADE_NOT_EXISTS","找不到对应的订单信息"),
    CHINAPAY_KEY_NOT_EXISTS("CHINAPAY_KEY_NOT_EXISTS","银联签名文件不存在"),
    CHINAPAY_BUILD_KEY_ERROR("CHINAPAY_BUILD_KEY_ERROR","银联签名失败"),
    CHINAPAY_NOT_INIT("CHINAPAY_NOT_INIT","银联信息未初始化"),
    CHINAPNR_NOT_INIT("CHINAPNR_NOT_INIT","汇付信息未初始化"),
    
    MONEY_ERROR("MONEY_ERROR","金钱输入有误");

    private String code;

    private String desc;

    private PayResultEnum(String code, String desc) {

        this.code = code;
        this.desc = desc;
    }

    /**
     * Getter method for property <tt>code</tt>.
     * 
     * @return property value of code
     */
    public String getCode() {
        return code;
    }

    /**
     * Setter method for property <tt>code</tt>.
     * 
     * @param code value to be assigned to property code
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * Getter method for property <tt>desc</tt>.
     * 
     * @return property value of desc
     */
    public String getDesc() {
        return desc;
    }

    /**
     * Setter method for property <tt>desc</tt>.
     * 
     * @param desc value to be assigned to property desc
     */
    public void setDesc(String desc) {
        this.desc = desc;
    }

}
